package com.yeyks.service;

import com.yeyks.dal.domain.MessageNotice;
import com.yeyks.dal.domain.UserInfo;

import java.util.List;
import java.util.Map;

/**
 * @author fuchangshuai
 * @date 2019/4/23 0023
 */
public interface MessageNoticeService {

    MessageNotice getMessageNotice(Map<String, String> map, Integer userId, Integer hotelId);

    int createNoticeAndSave(Map<String, String> map, Integer userId, Integer hotelId);

    int activieyCreateAndSave(Map<String, String> map, Integer userId, Integer type);

    int activieyIdCreateAndSave(Map<String, String> map, Integer activityId, Integer type);

    /**
     * 分页获取通知消息
     *
     * @param userInfo
     * @param type
     * @param pageNo
     * @param pageSize
     * @return
     */
    Map<String, Object> list(UserInfo userInfo, Integer type, Integer pageNo, Integer pageSize);

    /**
     * 获取佣金明细
     *
     * @param param
     * @return
     */
    List<MessageNotice> detailList(Map<String, Object> param);
}
